package summer_vacation.liqing;

/**
 * Created by 123456 on 2015/8/7.
 */
public class Assignment_4 {
    public static void main(String[] args) {
        StringBuffer sb=new StringBuffer();
        long sum=0L;
        long j=0L;
        for(int i=0;i<10;i++){
            j=Long.valueOf(sb.append("8").toString()).longValue();
            sum +=j;
        }
        System.out.println(sum);
    }
}
